<%@ include file="/common/taglibs.jsp"%>

    <select class="medium" name="<c:out value="${param.name}"/>" >
	    <option value=" "></option>
		    <c:forEach var="projectItem" items="${availableProjects}" varStatus="status">
			<c:choose>
			    <c:when test="${param.project == projectItem.id}">
				<option selected="true" value="<c:out value="${projectItem.id}"/>">
				    <c:out value="${projectItem.id}"/>:&nbsp;<c:out value="${projectItem.name}" escapeXml="false" />
				</option>
			    </c:when>
			    <c:otherwise>
				<option value="<c:out value="${projectItem.id}"/>">
				   <c:out value="${projectItem.id}"/>:&nbsp;<c:out value="${projectItem.name}" escapeXml="false" />
				</option>
			    </c:otherwise>
			</c:choose>
		    </c:forEach>
    </select>